home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / pnmdepth.1 < prev    next >
Text File  |  1995-07-25  |  1KB  |  67 lines

  1.  
  2.  
  3.  
  4.      ppppnnnnmmmmddddeeeepppptttthhhh((((1111))))     XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((11112222 JJJJaaaannnnuuuuaaaarrrryyyy 1111999999991111))))      ppppnnnnmmmmddddeeeepppptttthhhh((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           pnmdepth - change the maxval in a portable anymap
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           ppppnnnnmmmmddddeeeepppptttthhhh _n_e_w_m_a_x_v_a_l [_p_n_m_f_i_l_e]
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.           Reads a portable anymap as input.  Scales all the pixel
  16.           values, and writes out the image with the new maxval.
  17.           Scaling the colors down to a smaller maxval will result in
  18.           some loss of information.
  19.  
  20.           Be careful of off-by-one errors when choosing the new
  21.           maxval.  For instance, if you want the color values to be
  22.           five bits wide, use a maxval of 31, not 32.
  23.  
  24.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  25.           pnm(5), ppmquant(1), ppmdither(1)
  26.  
  27.      AAAAUUUUTTTTHHHHOOOORRRR
  28.           Copyright (C) 1989, 1991 by Jef Poskanzer.
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 9/7/93)
  64.  
  65.  
  66.  
  67.